package com.erp.erp_dao.CodeGeneration;

import com.erp.erp_entitys.CodeGeneration.CodeGenerationEntity;
import com.erp.erp_entitys.CodeGeneration.CodeGenerationExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ICodeGenerationDAO {
    long countByExample(CodeGenerationExample example);

    int deleteByExample(CodeGenerationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CodeGenerationEntity record);

    int insertSelective(CodeGenerationEntity record);

    List<CodeGenerationEntity> selectByExample(CodeGenerationExample example);

    CodeGenerationEntity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CodeGenerationEntity record, @Param("example") CodeGenerationExample example);

    int updateByExample(@Param("record") CodeGenerationEntity record, @Param("example") CodeGenerationExample example);

    int updateByPrimaryKeySelective(CodeGenerationEntity record);

    int updateByPrimaryKey(CodeGenerationEntity record);
}